home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
3D Images
/
3D Images.iso
/
programs
/
amiga
/
mpegutils
/
tools
/
cyuv2ppm.man
< prev
next >
Wrap
Text File
|
1995-01-12
|
3KB
|
133 lines
CYUV2PPM(1) CYUV2PPM(1)
NNAAMMEE
cyuv2ppm - Component Y Cb Cr (YUV) conversion to raw PPM
SSYYNNOOPPSSIISS
ccyyuuvv22ppppmm iinnffiillee oouuttffiillee [[--iiww wwiiddtthh]] [[--iihh hheeiigghhtt]] [[--zz ssuuff--
ffiixx]]** [[--CCCCIIRR660011]]
DDEESSCCRRIIPPTTIIOONN
_c_y_u_v_2_p_p_m is a conversion program between component yuv
files and the ppm file format. The chrominances of the
input are decimated by a factor of 2 in both the horizon-
tal and vertial dimensions.
OOPPTTIIOONNSS
--iiww is the image width in terms of the luminance compo-
nent (Y).
--iihh is the image height in terms of the luminance com-
ponent (Y).
--CCCCIIRR660011
specifies that the CCIR601 YCbCr colorspace is to
be used instead of the JFIF colorspace.
--zz denotes the component file suffixes in sequential
order. For example
--zz ..yy..ccllrr --zz ..uu..ccllrr --zz ..vv..ccllrr indicates that the
luminance and the two chrominance files end with a
suffix of ..yy..ccllrr,, ..uu..ccllrr,, and ..vv..ccllrr,, in that
order. If unspecified, the suffixes default to ..YY,,
UU,, and ..VV..
EEXXAAMMPPLLEESS
To convert a triple set of raw raster scan YCbCr (also
known as digital YUV) files with dimension 352x240 Y,
176x120 U,V, with labels, hheelllloo00..YY hheelllloo00..UU hheelllloo00..VV,, to
the file oouutt..ppppmm type
ccyyuuvv22ppppmm hheelllloo00 oouutt..ppppmm
There are a variety of ways to convert the PPM file to
other formats; see Jef Poskanzer's PBMPLUS library.
FFTTPP
_c_y_u_v_2_p_p_m is available by anonymous ftp from _h_a_v_e_-
_f_u_n_._s_t_a_n_f_o_r_d_._e_d_u_:_p_u_b_/_c_v_/_C_V_v_1_._2_._1_._t_a_r_._Z_.
BBUUGGSS
Probably lurking somewhere. Please inform the author at
achung@cs.stanford.edu if any bugs are found.
14 June 1993 1
CYUV2PPM(1) CYUV2PPM(1)
AAUUTTHHOORR
Andy Hung
14 June 1993 2